﻿<%@ Page Language="C#" MasterPageFile="~/MasterClient.Master" AutoEventWireup="true" CodeFile="frm_TraineeWorkedCompInfo.aspx.cs" Inherits="frm_TraineeWorkedCompInfo" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
THÔNG TIN VIỆC LÀM
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>
 <%--<div class="titleHeader_VN">
    <asp:Label ID="lbl_titleHeader"  runat="server" Text="THÔNG TIN VIỆC LÀM"></asp:Label>
 </div>
  <div class="titlename_VN">
    <asp:Label ID="lbl_NameHeader"  runat="server" Text="nameHeader"></asp:Label>
 </div>--%>
  <div class="maindiv">
        <div class="Header1">
            <span>＊: Nhập bắt buộc các mục có dấu *.</span>
        </div>
          <br />
        <div id="Div2" runat="server" class="Header3" style="margin-left:50px">
            
            <asp:Label ID="Label2" runat="server" Text="※Nhập toàn bộ các công việc đã làm."></asp:Label>
            <br />
            <asp:Label ID="Label4" runat="server" Text="※Nhập thông tin công việc kế tiếp bằng cách nhấp vào nút Nhập mới."></asp:Label>
            
            
        </div>
        <br />
       
        <div class="detail-admin-row" id="div_会社名" runat="server">
            <span class="detail-admin-label">Tên công ty :</span>
            <asp:TextBox ID="txt_会社名" runat="server" ValidationGroup="detailForm" Width="300px"></asp:TextBox>
            
        </div>
        <div class="detail-admin-row" id="div_部門名" runat="server">
            <span class="detail-admin-label">Tên bộ phận :</span>
            <asp:TextBox ID="txt_部門名" runat="server" ValidationGroup="detailForm" Width="300px"></asp:TextBox>
            
        </div>
        
        <div class="detail-admin-row" id="dv_仕事内容" runat="server">
            <span class="detail-admin-label">Nội dung công việc :</span>
            <asp:TextBox ID="txt_仕事内容" runat="server" ValidationGroup="detailForm" Width="300px"></asp:TextBox>
            <span class="required-field"> *</span>
        </div>
        <div class="detail-admin-row" id="dv_主な実績" runat="server">
            <span class="detail-admin-label">Thành tích tốt nhất :</span>
            <asp:TextBox ID="txt_主な実績" runat="server" ValidationGroup="detailForm" Width="300px"></asp:TextBox>
            
        </div>
       <div class="detail-admin-row" id="dv_開始年月日" runat="server">
            <span class="detail-admin-label">Thời gian bắt đầu :</span>
            <asp:DropDownList Width="78px" ID="ddl_開始年月日月" runat="server">
                <asp:ListItem>- Tháng -</asp:ListItem>
                <asp:ListItem Value="01">1</asp:ListItem>
                <asp:ListItem Value="02">2</asp:ListItem>
                <asp:ListItem Value="03">3</asp:ListItem>
                <asp:ListItem Value="04">4</asp:ListItem>
                <asp:ListItem Value="05">5</asp:ListItem>
                <asp:ListItem Value="06">6</asp:ListItem>
                <asp:ListItem Value="07">7</asp:ListItem>
                <asp:ListItem Value="08">8</asp:ListItem>
                <asp:ListItem Value="09">9</asp:ListItem>
                <asp:ListItem Value="10">10</asp:ListItem>
                <asp:ListItem Value="11">11</asp:ListItem>
                <asp:ListItem Value="12">12</asp:ListItem>
            </asp:DropDownList>
            <asp:DropDownList Width="68px" ID="ddl_開始年月日年" runat="server">
                <asp:ListItem Value="-1">- Năm -</asp:ListItem>
               
            </asp:DropDownList>
            <span class="required-field"> *</span>
        </div>
        <div class="detail-admin-row" id="dv_終了年月日" runat="server">
            <span class="detail-admin-label">Thời gian kết thúc :</span>
            <asp:DropDownList Width="78px" ID="ddl_終了年月日月" runat="server">
                 <asp:ListItem>- Tháng -</asp:ListItem>
                <asp:ListItem Value="01">1</asp:ListItem>
                <asp:ListItem Value="02">2</asp:ListItem>
                <asp:ListItem Value="03">3</asp:ListItem>
                <asp:ListItem Value="04">4</asp:ListItem>
                <asp:ListItem Value="05">5</asp:ListItem>
                <asp:ListItem Value="06">6</asp:ListItem>
                <asp:ListItem Value="07">7</asp:ListItem>
                <asp:ListItem Value="08">8</asp:ListItem>
                <asp:ListItem Value="09">9</asp:ListItem>
                <asp:ListItem Value="10">10</asp:ListItem>
                <asp:ListItem Value="11">11</asp:ListItem>
                <asp:ListItem Value="12">12</asp:ListItem>
            </asp:DropDownList>
            <asp:DropDownList Width="68px" ID="ddl_終了年月日年" runat="server">
                <asp:ListItem Value="-1">- Năm -</asp:ListItem>
               
            </asp:DropDownList>
            <span class="required-field"> *</span>
        </div>
        
        <div class="detail-admin-row" id="d" runat="server">
            <span class="detail-admin-label">&nbsp;</span>
             <asp:Button ID="btn_登録" runat="server" Text="Nhập mới" CssClass="btn" OnClick="btn_登録_Click" />
             &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
             <asp:Button ID="btn_リセット" runat="server" Text="Xóa trắng" CssClass="btn" OnClick="btn_リセット_Click" />
         </div>
          <div class="Header2">
             <span style="color:Gray">＊Lịch sử làm việc</span>
          </div>
           <asp:HiddenField id="hd_pageCount" runat="server"></asp:HiddenField> 
           <div style="MARGIN: 10px 50px 10px" class="detail-admin-row">
            <asp:GridView id="grv_TraineeWorkedCompInfo" runat="server" Width="100%" 
            CssClass="grid" BackColor="White" BorderWidth="1" BorderStyle="Solid"  
            BorderColor="Black" CellPadding="4" ForeColor="#555555" GridLines="Vertical"  
            AutoGenerateColumns="False" Height="40px" ShowFooter="True" OnRowCommand="grv_TraineeWorkedCompInfo_RowCommand" OnDataBound="grv_TraineeWorkedCompInfo_DataBound" EmptyDataText="trong" OnRowCreated="grv_TraineeWorkedCompInfo_RowCreated" OnSorting="grv_TraineeWorkedCompInfo_Sorting" AllowSorting="True" >
           <Columns>
                <asp:TemplateField HeaderText="Tên công ty" SortExpression="会社名">
                <ItemTemplate>
                    <asp:LinkButton id="HyperLink1" runat="server" Text='<%# Eval("会社名") %>' CommandArgument='<%# Eval("ID") %>' CommandName="SELECT"></asp:LinkButton> 
                </ItemTemplate>
                
                 <FooterTemplate>
                         <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/Images/controls/first copy.gif"  CommandArgument="First" CommandName="Page" />
                        <asp:ImageButton ID="ImageButton2" runat="server"   ImageUrl="~/Images/controls/last copy.gif" CommandArgument="Prev" CommandName="Page"/>
                         ページ <asp:DropDownList ID="ddlPages" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlPages_SelectedIndexChanged"></asp:DropDownList> 
                            / <asp:Label ID="lblPageCount" runat="server"></asp:Label>
                             <asp:ImageButton ID="ImageButton3" runat="server" ImageUrl="~/Images/controls/next copy.gif"   CommandArgument="Next" CommandName="Page" />
                        <asp:ImageButton ID="ImageButton4" runat="server" ImageUrl="~/Images/controls/previous copy.gif"  CommandArgument="Last" CommandName="Page"/>
                    </FooterTemplate>
                    
                <FooterStyle HorizontalAlign="center" VerticalAlign="Middle" BorderWidth="1" BorderStyle="Solid"  BorderColor="Black" BackColor="#808080"></FooterStyle>
                <HeaderStyle  BorderWidth="1" BorderStyle="Solid"  BorderColor="Black" />
                <ItemStyle   BorderWidth="1" BorderStyle="Solid"  BorderColor="Black"  />
                
                </asp:TemplateField>

                <asp:TemplateField HeaderText="Bộ phận" SortExpression="部門名">
                   
                    <ItemTemplate>
                         <asp:Label ID="Label1" runat="server" Text='<%# Bind("部門名") %>'></asp:Label>
                    </ItemTemplate>
                   
                    
                    <ItemStyle HorizontalAlign="Center"></ItemStyle>
                    <HeaderStyle  BorderWidth="1" BorderStyle="Solid"  BorderColor="Black" />
                    <ItemStyle   BorderWidth="1" BorderStyle="Solid"  BorderColor="Black"  />
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Thời gian vào công ty" SortExpression="開始年月日">
                    
                    <ItemTemplate>
                            <asp:Label ID="Label2" runat="server" Text='<%# Bind("開始年月日","{0:yyyy/MM/dd}") %>'></asp:Label>
                     </ItemTemplate>
                   
                   
                    <ItemStyle HorizontalAlign="Center"></ItemStyle>
                    <HeaderStyle  BorderWidth="1" BorderStyle="Solid"  BorderColor="Black" />
                <ItemStyle   BorderWidth="1" BorderStyle="Solid"  BorderColor="Black"  />
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Thời gian kết thúc" SortExpression="終了年月日">
                   
                    <ItemTemplate>
                        <asp:Label ID="Label3" runat="server" Text='<%# Bind("終了年月日","{0:yyyy/MM/dd}") %>'></asp:Label>
                    </ItemTemplate>
                   
                    
                    <ItemStyle HorizontalAlign="Center"></ItemStyle>
                    <HeaderStyle  BorderWidth="1" BorderStyle="Solid"  BorderColor="Black" />
                <ItemStyle   BorderWidth="1" BorderStyle="Solid"  BorderColor="Black"  />
                </asp:TemplateField>
                 <asp:TemplateField  HeaderText="Xóa">
                    <ItemStyle HorizontalAlign ="Center" Width ="50px" />
                    <ItemTemplate>
                        <asp:ImageButton ID="ImageButton5" runat="server" ImageUrl="~/Images/Delete.gif" Width="15px" Height="15px" CausesValidation="false" CommandName="del" CommandArgument ='<%# Eval("ID") %>'  OnClientClick="return confirm('Bạn có chắc muốn xóa thông tin này không ?')" />
                       
                    </ItemTemplate>
                     <HeaderStyle  BorderWidth="1" BorderStyle="Solid"  BorderColor="Black" />
                <ItemStyle   BorderWidth="1" BorderStyle="Solid"  BorderColor="Black"  />
                </asp:TemplateField>
                
          </Columns>
          <RowStyle BackColor="#FFFFCC" BorderWidth="1" BorderStyle="Solid"  BorderColor="Black"/>
            <FooterStyle BackColor="#CCCC99" />
           
            <PagerStyle BackColor="#F7F7DE" ForeColor="Black" HorizontalAlign="Right" />
            <HeaderStyle Height="40px" BackColor="#808080" Font-Bold="True" 
                ForeColor="White" />
            <AlternatingRowStyle BackColor="White" />
            
           <SelectedRowStyle BackColor="PaleGoldenrod" ForeColor="DarkSlateBlue" />
            </asp:GridView>
            </div>
           
         <div class="Header3">
            <span>※Nhấp đúp vào cột [Tên công ty] để chỉnh sửa thông tin.</span>
            <br />
            <span>※Nhấp vào nút Hoàn tất để kết thúc việc đăng ký thông tin quá trình làm việc.</span>
             
        </div>
         <div class="detail-admin-row">
             <div class="btn_back">
                 <asp:Button ID="btn_戻る"  runat="server" Text="← Quay lại" OnClick="btn_戻る_Click" CssClass="btn" />
             </div>
             <div class="btn_next">
                 <asp:Button ID="btn_OK"  runat="server" Text="Hoàn tất" OnClick="btn_OK_Click" CssClass="btn" />
                
                
             </div>
         </div>
       
</div>
  <div>&nbsp;</div>
  <br />
    </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>

